package com.aind.category.service.impl;

import com.aind.category.dao.CategoryMapper;
import com.aind.category.model.Category;
import com.aind.category.service.CategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by lpeng on 2017/2/23.
 */
@Service
public class CategoryServiceImpl implements CategoryService {

    @Autowired
    private CategoryMapper categoryMapper;

    @Override
    public List<Category> getAllForCategoryMenu() {
        return categoryMapper.getAllForCategoryMenu();
    }
}
